<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE html>
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body class="body">
	<jsp:include page="include/head.jsp">
		<jsp:param value="${ep}" name="ep"/>
	</jsp:include>
	
	<div class="container">
	  <div class="row">
		<div class="span9">
		<form class="form-horizontal" action="gogal.jspx" method="post">
	        <fieldset>
	          <legend>查看任务</legend>
	          <input type="hidden" name="taskId" value="${requestScope.task.id}">
	          <div class="control-group">
	            <label class="control-label" for="input01">任务名称</label>
	            <div class="controls">
	              <input type="text" readonly="readonly" class="span5" id="input01"  value="${requestScope.task.name}" name="name">
	              <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="input01">开始时间</label>
	            <div class="controls">
	              <input type="text" readonly="readonly" class="span5" id="input01"  value="${requestScope.task.begintime}" name="begintime">
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="input01">截止时间</label>
	            <div class="controls">
	              <input type="text" readonly="readonly" class="span5" id="input01"  value="${requestScope.task.endtime}" name="endtime">
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="input01">任务描述</label>
	            <div class="controls">
	              <textarea class="span5" readonly="readonly" rows="8" name="desc">${requestScope.task.desc}</textarea>
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="multiSelect">状态</label>
	            <div class="controls">
	            	<input type="text" readonly="readonly" class="span5" id="input01"  value="${requestScope.task.state}" name="endtime">
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="multiSelect">级别</label>
	            <div class="controls">
	             <input type="text" readonly="readonly" class="span5" id="input01"  value="${requestScope.task.level}" name="endtime">
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="multiSelect">负责人</label>
	            <div class="controls">
	             <input type="text" readonly="readonly" class="span5" id="input01"  value="${requestScope.managername}" name="endtime">
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="input01" style="margin-right:20px;">当前进度</label>
	            <div class="progress ${task.rate == 100 ? 'progress-success':''} myproress" >
				  <div class="bar" style="width:${task.rate}%;" id="${task.id}">${task.rate == 0 ? '':task.rate}${task.rate == 0 ? '':'%'}</div>
				</div>
	          </div>
	          
	          <div class="form-actions">
	            <a href="project.jspx?id=${ep.projectID }" class="btn btn-primary" style="float:right;margin-right:200px;">返回</a>
	          </div>
	        </fieldset>
     	 </form>          
          	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>

</body></html>
